package com.idelan.commonMessage.model;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Map;

public class JPushParameter implements Serializable {
    /**
     * 通知内容标题
     */
    @NotBlank(message = "通知内容标题不能为空！")
    private String notification_title;
    /**
     * 消息内容标题
     */
    @NotBlank(message = "消息内容标题不能为空！")
    private String msg_title;
    /**
     * 消息内容
     */
    @NotBlank(message = "消息内容不能为空！")
    private String msg_content;
    /**
     * 扩展字段
     */
    private String extrasparam;
    /**
     *设备标识
     */
    private String registrationId;

    /**
     * 用户别名
     */
    private String aliasId;

    /**
     * 使用用户别名是的扩展字段
     */
    private Map<String,Object> extrasParmMap;

    @Override
    public String toString() {
        return "JPushParameter{" +
                "notification_title='" + notification_title + '\'' +
                ", msg_title='" + msg_title + '\'' +
                ", msg_content='" + msg_content + '\'' +
                ", extrasparam='" + extrasparam + '\'' +
                ", registrationId='" + registrationId + '\'' +
                ", aliasId='" + aliasId + '\'' +
                ", extrasParmMap=" + extrasParmMap +
                '}';
    }

    public String getNotification_title() {
        return notification_title;
    }

    public void setNotification_title(String notification_title) {
        this.notification_title = notification_title;
    }

    public String getMsg_title() {
        return msg_title;
    }

    public void setMsg_title(String msg_title) {
        this.msg_title = msg_title;
    }

    public String getMsg_content() {
        return msg_content;
    }

    public void setMsg_content(String msg_content) {
        this.msg_content = msg_content;
    }

    public String getExtrasparam() {
        return extrasparam;
    }

    public void setExtrasparam(String extrasparam) {
        this.extrasparam = extrasparam;
    }

    public String getRegistrationId() {
        return registrationId;
    }

    public void setRegistrationId(String registrationId) {
        this.registrationId = registrationId;
    }

    public String getAliasId() {
        return aliasId;
    }

    public void setAliasId(String aliasId) {
        this.aliasId = aliasId;
    }

    public Map<String, Object> getExtrasParmMap() {
        return extrasParmMap;
    }

    public void setExtrasParmMap(Map<String, Object> extrasParmMap) {
        this.extrasParmMap = extrasParmMap;
    }
}
